package zkk.com.mengqu.service;

import okhttp3.MultipartBody;
import okhttp3.RequestBody;
import retrofit2.http.Body;
import retrofit2.http.Field;
import retrofit2.http.FormUrlEncoded;
import retrofit2.http.Multipart;
import retrofit2.http.POST;
import retrofit2.http.Part;
import retrofit2.http.Path;
import rx.Observable;
import zkk.com.mengqu.models.Tietuku;

/**
 * Created by 40955 on 2017/8/22.
 */

public interface TieTuKuService {

    /**
     * 上传头像--过程：上传到贴图库
     * @param file
     * @return
     */
    @POST("/")
    Observable<Tietuku> importImage(@Body RequestBody file);
}
